package com.demo.petshop.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

/**
 *  实体类。
 *
 * @author lenovo
 * @since 2025-06-11
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(value = "user_security")
public class UserSecurity implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Id
    private Integer securityId;

    private Integer userId;

    private Integer loginNotification;

    private Integer paymentVerification;

    private String lastLoginTime;

    private String lastLoginIp;

    private String lastLoginDevice;

}
